package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Param {
    public static void main(String[] args) {
        Test t=new Test();

//        int i=23;
//        System.out.println("调用前：i="+i);
//
//        t.modify(i);
//        System.out.println("调用后：i="+i);

        Student stu=new Student();
        stu.name="老四";
        stu.age=22;
        System.out.println("调用前:");
        stu.show();
        t.inc2(stu);
        System.out.println("调用后:");
        stu.show();
    }
}
